<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新浪导航</title>
    <style>
        div {
            height: 41px;
            border-top: 3px solid #ff8500;
            border-bottom: 1px solid #edeef0;
            background-color: #fcfcfc;
            line-height: 41px;
        }

        a {
            font-size: 12px;
            color: #4c4c4c;
            text-decoration: none;
            /*a属于行内元素  需要转化为   行内块元素  */
            display: inline-block;
            height: 41px;
            padding: 0 20px;
        }

        /* 光标 */
        .one a:hover {
            background-color: #eee;
            color: #ff8500;
        }
    </style>
</head>

<body>
    <div class="one">
        <ul>
            <li>
                <a href="#">手机新浪网</a>
            </li>
            <li>
                 <a href="#">新浪导航</a>
            </li>
            <li>
                <a href="#">移动端</a>
            </li>
            <li>
                <a href="#">微博</a>
            </li>
        </ul>
    </div>
</body>

</html>